/**
 * Created by Administrator on 2017-05-23.
 */
var a = function (i) { return i % 2 == 0; };
var arr = [1, 2, 3, 4, 5, 6];
console.log(arr.filter(function (i) { return i % 2 == 0; }));
function getName(name) {
    var _this = this;
    this.name = name;
    setInterval(function () {
        console.log("my name is" + _this.name);
    }, 1000);
}
var a = new getName("xiongmao");
